<?php

/**
 * PluginygmPerModule form.
 *
 * @package    ##PROJECT_NAME##
 * @subpackage form
 * @author     ##AUTHOR_NAME##
 * @version    SVN: $Id: sfDoctrineFormPluginTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
abstract class PluginygmPerModuleForm extends BaseygmPerModuleForm {

    public function setupInheritance() {

        parent::setupInheritance();
        $this->setWidget('path', new sfWidgetFormInputHidden());

        //Fremove Required validators from these fields.
        unset($this->validatorSchema['created_at']);
        unset($this->validatorSchema['updated_at']);
        //remove fields from form
        unset($this->widgetSchema['created_at']);
        unset($this->widgetSchema['updated_at']);
    }

}
